package com.css.fxfzysx.modules.cztDataMange.service;

import com.css.fxfzysx.base.response.RestResponse;
import com.css.fxfzysx.modules.cztDataMange.entity.CbhdInfoEntity;
import com.css.fxfzysx.modules.vabStructure.vo.CrsEntiretyQueryParam;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.util.List;

public interface SdoBuildingsService {
    RestResponse uploadHsoBuildings(MultipartFile file);

    RestResponse updateBuildings(CbhdInfoEntity cbhdInfoEntity);

    RestResponse deleteBuildingsById(String number);

    RestResponse queryBuildings(CbhdInfoEntity cbhdInfoEntity, HttpServletRequest request);

    RestResponse queryCrsBuildings(CrsEntiretyQueryParam cbhdInfoEntity, HttpServletRequest request);

    RestResponse deleteCrsById(String calId);

    RestResponse getBuildingsById(String buildingsId);

    RestResponse getBuildingsByNumber(String number);

    int updateBuildingsForm(List<CbhdInfoEntity> cbhList);

    RestResponse generatePictures(HttpServletRequest request) throws IOException;



}
